<!DOCTYPE html>
<html>
    <head>
        <title>{% block title %}{% endblock %}</title>
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        
        <style type="text/css">
            #head{
                background-color: #cca;
                height: 40px;
                width: 700px;
            }
            body{
                font-size:15px;
            }
            .num_col{text-align: center; width: 100px;}
            table{width: 700px;}
            td{padding:3px}
        </style>
        {% block script %}
        {% endblock %}
    </head>
    <body>
        <div>
                {% block head %}
                <!--<div id="head">后台管理系统</div>-->
                {% endblock %}
            <div>
                {% block body %}{% endblock %}
            </div>
            <div>
                {% block foot %}
                <div>
                    <a href="{{ url_for('.summary') }}"><button>概览</button></a>
                    <a href="{{ url_for('.fav_terminal') }}"><button>查看终端类型排行</button></a>
                    <a href="{{ url_for('.fav_mov') }}"><button>查看视频点击排行</button></a>
                    <a href="{{ url_for('.every_day') }}"><button>查看详情</button></a>
                </div>
                {% endblock %}
            </div>
        </div>
    </body>
</html>
